]> dgit.raspbian.org Git - gnome-shell.git/commit
blur-effect: Use sigma value instead of blur radius
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 10 Feb 2020 14:34:57 +0000 (15:34 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 12 Feb 2020 14:10:38 +0000 (11:10 -0300)
commitf351cfa2f7ffde1459680fce31ec273a07ff773c
tree181a42f8f737c1df09b96b7c6cd000beaf3a3292
parentd26bb38be95eedb9919d23123cb7368c3ab28e35
blur-effect: Use sigma value instead of blur radius

Almost all implementations, including CSS [1] of gaussian blurs use the
sigma/standard deviation value as the input parameter, even if they call
that value "radius". Since using sigma is more correct mathematically
and avoids confusion for people used to other blur implementations, use
that parameter here, too.

[1] https://www.w3.org/TR/filter-effects-1/#funcdef-filter-blur

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991
js/ui/unlockDialog.js
src/shell-blur-effect.c
src/shell-blur-effect.h